package cn.glutnn.auth.infra.basic.entity;

import java.util.Date;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户角色关系表(AuthUserRole)表实体类
 *
 * @author msh
 * @since 2025-01-14 12:43:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("auth_user_role")
public class AuthUserRole {
    //主键
    @TableId
    private Long id;

    //用户id
    private Long userId;
    //角色id
    private Long roleId;
    //创建人
    private String createdBy;
    //创建时间
    private Date createdTime;
    //更新人
    private String updateBy;
    //更新时间
    private Date updateTime;
    //是否删除 0: 未删除 1: 已删除
    private Integer isDeleted;

}

